package com.company.cuobuliao.application;

import android.app.Application;
import android.graphics.Typeface;

/**
 * Created by Oreo on 2017/8/14.
 */

public class MyApplication extends Application {

    public static Typeface texttypeface = null;


    @Override
    public void onCreate() {
        super.onCreate();

        //生成字体库文件
        texttypeface = Typeface.createFromAsset(getApplicationContext().getAssets(), "fonts/fonttype.ttf");
    }
}
